<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <base href="<?php echo $system['siteRoot'];?>" />
    <title>登录/注册</title>
    <link rel="stylesheet" href="plugin/awesome/font-awesome.min.css"/>
    <link rel="stylesheet" href="plugin/reset.css"/>
    <link rel="stylesheet" href="style/index.css"/>
    <link rel="stylesheet" href="style/login.css"/>
    <script src="plugin/jquery-1.11.2.min.js"></script>
    <script src="script/login.js"></script>
</head>
<body>
<div class="container">
    <header>
        <div class="banner">
            <a href="<?php e_page("home","index"); ?>"><img class="logo" src="style/image/login-logo.png" alt=""></a>
            <?php import_part("custom.home","loginAndSearch"); ?>
        </div>
    </header>
    <div class="main-container">
        <div class="wrapper">
            <div class="introduction">
                <h2 class="orange num5">怀旧</h2>
                <h2 class="cyan num6">创业孵化</h2>
                <h2 class="yellow num8">联谊预告</h2>
                <h3 class="blue num1">校友新闻</h3>
                <h3 class="blue num2">粤港深校友</h3>
                <h3 class="orange num3">名人校友</h3>
                <h4 class="orange num4">行业精英</h4>
                <h4 class="cyan num7">慈善救助</h4>
                <h4 class="yellow num9">校友联谊</h4>
            </div>
            <div class="login-box js-login">
                <div class="title-img"><img src="style/image/login-title.png" alt=""></div>
                <h2>登录</h2>
                <h3>Sign In</h3>
                <form id="login-form" action="<?php e_action("loginSubmit"); ?>" method="post">
                    <input class="username" name="user" id="user" type="text" placeholder="在此处键入用户名">
                    <input class="password" name="pass" id="pass" type="password" placeholder="在此处键入密码">
                    <input class="login-button" type="submit" value="登陆">
                </form>
                <p>
                    <span>第一次登陆？马上加入我们</span>
                    <a href="javascript:" class="register-button js-switch-button">注册</a>
                </p>
            </div>
            <div class="login-box js-register">
                <div class="title-img"><img src="style/image/login-title.png" alt=""></div>
                <h2>注册</h2>
                <h3>Register</h3>
                <form id="register-form" autocomplete="off" action="<?php e_action("registerSubmit"); ?>" method="post">
                    <div class="first-step js-register-first">
                        <input class="username" id="username" type="text" name="data[user]" placeholder="在此处设置用户名">
                        <input class="password" id="password" type="password" name="data[code]" placeholder="在此处设置密码">
                        <input class="reset" id="reset" type="password" name="reset" placeholder="再次输入确认密码">
                        <a href="javascript:" class="next-button js-next-button">下一步</a>
                    </div>
                    <div class="next-step js-register-next">
                        <input class="truename" id="truename" type="text" name="data[real_name]" placeholder="姓名">
                        <input class="email" id="email" type="text" name="data[email]" placeholder="邮箱">
                        <input class="phone" id="phone" type="text" name="data[tel]" placeholder="手机">
                        <input class="company" id="company" type="text" name="data[company]" placeholder="目前所在公司单位">
                        <input class="school" id="school" type="text" name="data[school]" placeholder="原本就读院系">
                        <input class="graduation" id="graduation" type="month" name="data[graduation]" placeholder="毕业年月">
                        <a href="javascript:" class="back-button js-back-button"><i class="fa fa-arrow-circle-left"></i>返回上一步</a>
                        <input class="register-button" id="register-button" type="submit" value="注册">
                    </div>
                </form>
                <p>
                    <span>已经有账号？直接登录</span>
                    <a href="javascript:" class="login-button js-switch-button">登陆</a>
                </p>
            </div>
        </div>
    </div>
    <?php import_tpl("fragment/footer.php"); ?>
</div>

</body>
</html>